package com.hualude.roadsign.dto;

import com.hualude.roadsign.model.LineFaultEntity;

/**
 * Created by ding on 2017/8/14.
 */
public class LineFaultDto {
    private Integer roadLineFaultId;
    private Integer roadLineId;
    private Integer roadLineCheckerId;
    private String roadLineCheckerName;
    private String roadLineCheckTime;
    private Integer roadLineCheck;
    private Integer roadLineMainCheckerId;
    private String roadLineMainCheckerName;
    private String roadLineMainCheckTime;
    private Integer roadLineMainCheck;
    private String roadLineFeedback;
    private Double roadLineMoney;
    private Integer roadLineOrgId;
    private String roadLineOrgName;
    private Integer roadLineMainOrgId;
    private String roadLineMainOrgName;
    private Integer roadLineFaultLevel;
    private String roadLineFaultPhoto;
    private Integer roadLineFaultType;
    private String roadLineFaultReason;
    private Integer roadLineFaultCreatorId;
    private String roadLineFaultCreatorName;
    private String roadLineFaultCreatorPhone;
    private String roadLineFaultTime;

    private Integer roadLineMaintainerId;
    private String roadLineMaintainerName;
    private String roadLineMaintenancePhoto;
    private String roadLineMaintenanceContent;
    private String roadLineMaintenanceExplain;
    private Integer roadLineMaintenanceStatus;
    private String roadLineMaintenanceTime;

    private String roadLineMileage;
    private Integer coordinateId;
    private String roadLineProvince;
    private String roadLineCity;
    private String roadLineArea;
    private String roadLineRoadName;
    private String roadLineStartRoad;
    private String roadLineEndRoad;
    private Integer roadLineType;
    private Integer roadLineGraphic;
    private String roadLinePhoto;
    private String roadLineInstallTime;
    private String roadLineInstallOrg;
    private Integer roadLinePeriod;
    private Integer roadLineServiceLife;
    private String roadLineRemark;
    private Integer roadLineCreatorId;
    private String roadLineCreatorName;
    private Integer elementId;   //统一id
    private String longitude;      //经度集合
    private String latitude;       //维度集合

    public LineFaultDto() {
    }

    public LineFaultDto(Integer roadLineCheck, Integer roadLineMainCheck, Integer roadLineMaintenanceStatus) {
        this.roadLineCheck = roadLineCheck;
        this.roadLineMainCheck = roadLineMainCheck;
        this.roadLineMaintenanceStatus = roadLineMaintenanceStatus;
    }

    public LineFaultDto(Integer roadLineId, Integer coordinateId, Integer roadLineOrgId, Integer roadLineMainOrgId, String roadLineProvince, String roadLineCity, String roadLineArea, String roadLineRoadName, String roadLineStartRoad, String roadLineEndRoad, Integer roadLineType, Integer roadLineGraphic, String roadLinePhoto, String roadLineInstallTime, String roadLineInstallOrg, Integer roadLinePeriod, Integer roadLineServiceLife, Integer roadLineCreatorId,String roadLineMileage) {
        this.roadLineId = roadLineId;
        this.coordinateId = coordinateId;
        this.roadLineOrgId = roadLineOrgId;
        this.roadLineMainOrgId = roadLineMainOrgId;
        this.roadLineProvince = roadLineProvince;
        this.roadLineCity = roadLineCity;
        this.roadLineArea = roadLineArea;
        this.roadLineRoadName = roadLineRoadName;
        this.roadLineStartRoad = roadLineStartRoad;
        this.roadLineEndRoad = roadLineEndRoad;
        this.roadLineType = roadLineType;
        this.roadLineGraphic = roadLineGraphic;
        this.roadLinePhoto = roadLinePhoto;
        this.roadLineInstallTime = roadLineInstallTime;
        this.roadLineInstallOrg = roadLineInstallOrg;
        this.roadLinePeriod = roadLinePeriod;
        this.roadLineServiceLife = roadLineServiceLife;
        this.roadLineCreatorId = roadLineCreatorId;
        this.roadLineMileage=roadLineMileage;
    }

    public LineFaultDto(Integer roadLineCheck, Integer roadLineMainCheck, String roadLineFeedback, Double roadLineMoney, Integer roadLineFaultLevel, String roadLineFaultPhoto, Integer roadLineFaultType, String roadLineFaultReason, Integer roadLineFaultCreatorId, String roadLineFaultTime) {
        this.roadLineCheck = roadLineCheck;
        this.roadLineMainCheck = roadLineMainCheck;
        this.roadLineFeedback = roadLineFeedback;
        this.roadLineMoney = roadLineMoney;
        this.roadLineFaultLevel = roadLineFaultLevel;
        this.roadLineFaultPhoto = roadLineFaultPhoto;
        this.roadLineFaultType = roadLineFaultType;
        this.roadLineFaultReason = roadLineFaultReason;
        this.roadLineFaultCreatorId = roadLineFaultCreatorId;
        this.roadLineFaultTime = roadLineFaultTime;
    }

    public LineFaultDto(Integer roadLineId, String roadLineMainCheckTime, Integer roadLineFaultLevel, String roadLineFaultPhoto, Integer roadLineFaultType, String roadLineFaultReason, String roadLineMaintenancePhoto, String roadLineMaintenanceContent, String roadLineMaintenanceExplain, String roadLineMaintenanceTime, String roadLineProvince, String roadLineCity, String roadLineArea, String roadLineRoadName, String roadLineStartRoad, String roadLineEndRoad) {
        this.roadLineId = roadLineId;
        this.roadLineMainCheckTime = roadLineMainCheckTime;
        this.roadLineFaultLevel = roadLineFaultLevel;
        this.roadLineFaultPhoto = roadLineFaultPhoto;
        this.roadLineFaultType = roadLineFaultType;
        this.roadLineFaultReason = roadLineFaultReason;
        this.roadLineMaintenancePhoto = roadLineMaintenancePhoto;
        this.roadLineMaintenanceContent = roadLineMaintenanceContent;
        this.roadLineMaintenanceExplain = roadLineMaintenanceExplain;
        this.roadLineMaintenanceTime = roadLineMaintenanceTime;
        this.roadLineProvince = roadLineProvince;
        this.roadLineCity = roadLineCity;
        this.roadLineArea = roadLineArea;
        this.roadLineRoadName = roadLineRoadName;
        this.roadLineStartRoad = roadLineStartRoad;
        this.roadLineEndRoad = roadLineEndRoad;
    }

    public LineFaultDto(Integer roadLineId, String roadLineMainCheckTime, Integer roadLineFaultLevel, String roadLineFaultPhoto, Integer roadLineFaultType, String roadLineFaultReason, String roadLineMaintenancePhoto, String roadLineMaintenanceContent, String roadLineMaintenanceExplain, String roadLineMaintenanceTime, String roadLineProvince, String roadLineCity, String roadLineArea, String roadLineRoadName, String roadLineStartRoad, String roadLineEndRoad,String roadLineFeedback) {
        this.roadLineId = roadLineId;
        this.roadLineMainCheckTime = roadLineMainCheckTime;
        this.roadLineFaultLevel = roadLineFaultLevel;
        this.roadLineFaultPhoto = roadLineFaultPhoto;
        this.roadLineFaultType = roadLineFaultType;
        this.roadLineFaultReason = roadLineFaultReason;
        this.roadLineMaintenancePhoto = roadLineMaintenancePhoto;
        this.roadLineMaintenanceContent = roadLineMaintenanceContent;
        this.roadLineMaintenanceExplain = roadLineMaintenanceExplain;
        this.roadLineMaintenanceTime = roadLineMaintenanceTime;
        this.roadLineProvince = roadLineProvince;
        this.roadLineCity = roadLineCity;
        this.roadLineArea = roadLineArea;
        this.roadLineRoadName = roadLineRoadName;
        this.roadLineStartRoad = roadLineStartRoad;
        this.roadLineEndRoad = roadLineEndRoad;
        this.roadLineFeedback = roadLineFeedback;
    }

    public LineFaultDto(Integer roadLineId, Integer roadLineOrgId, Integer roadLineMainOrgId, Integer roadLineFaultType) {
        this.roadLineId = roadLineId;
        this.roadLineOrgId = roadLineOrgId;
        this.roadLineMainOrgId = roadLineMainOrgId;
        this.roadLineFaultType = roadLineFaultType;
    }

    public String getRoadLineFaultCreatorPhone() {
        return roadLineFaultCreatorPhone;
    }

    public void setRoadLineFaultCreatorPhone(String roadLineFaultCreatorPhone) {
        this.roadLineFaultCreatorPhone = roadLineFaultCreatorPhone;
    }

    public Integer getCoordinateId() {
        return coordinateId;
    }

    public void setCoordinateId(Integer coordinateId) {
        this.coordinateId = coordinateId;
    }

    public Integer getRoadLineFaultId() {
        return roadLineFaultId;
    }

    public void setRoadLineFaultId(Integer roadLineFaultId) {
        this.roadLineFaultId = roadLineFaultId;
    }

    public Integer getRoadLineId() {
        return roadLineId;
    }

    public void setRoadLineId(Integer roadLineId) {
        this.roadLineId = roadLineId;
    }

    public Integer getRoadLineCheckerId() {
        return roadLineCheckerId;
    }

    public void setRoadLineCheckerId(Integer roadLineCheckerId) {
        this.roadLineCheckerId = roadLineCheckerId;
    }

    public String getRoadLineCheckerName() {
        return roadLineCheckerName;
    }

    public void setRoadLineCheckerName(String roadLineCheckerName) {
        this.roadLineCheckerName = roadLineCheckerName;
    }

    public String getRoadLineCheckTime() {
        return roadLineCheckTime;
    }

    public void setRoadLineCheckTime(String roadLineCheckTime) {
        this.roadLineCheckTime = roadLineCheckTime;
    }

    public Integer getRoadLineCheck() {
        return roadLineCheck;
    }

    public void setRoadLineCheck(Integer roadLineCheck) {
        this.roadLineCheck = roadLineCheck;
    }

    public Integer getRoadLineMainCheckerId() {
        return roadLineMainCheckerId;
    }

    public void setRoadLineMainCheckerId(Integer roadLineMainCheckerId) {
        this.roadLineMainCheckerId = roadLineMainCheckerId;
    }

    public String getRoadLineMainCheckerName() {
        return roadLineMainCheckerName;
    }

    public void setRoadLineMainCheckerName(String roadLineMainCheckerName) {
        this.roadLineMainCheckerName = roadLineMainCheckerName;
    }

    public String getRoadLineMainCheckTime() {
        return roadLineMainCheckTime;
    }

    public void setRoadLineMainCheckTime(String roadLineMainCheckTime) {
        this.roadLineMainCheckTime = roadLineMainCheckTime;
    }

    public Integer getRoadLineMainCheck() {
        return roadLineMainCheck;
    }

    public void setRoadLineMainCheck(Integer roadLineMainCheck) {
        this.roadLineMainCheck = roadLineMainCheck;
    }

    public String getRoadLineFeedback() {
        return roadLineFeedback;
    }

    public void setRoadLineFeedback(String roadLineFeedback) {
        this.roadLineFeedback = roadLineFeedback;
    }

    public Double getRoadLineMoney() {
        return roadLineMoney;
    }

    public void setRoadLineMoney(Double roadLineMoney) {
        this.roadLineMoney = roadLineMoney;
    }

    public Integer getRoadLineOrgId() {
        return roadLineOrgId;
    }

    public void setRoadLineOrgId(Integer roadLineOrgId) {
        this.roadLineOrgId = roadLineOrgId;
    }

    public String getRoadLineOrgName() {
        return roadLineOrgName;
    }

    public void setRoadLineOrgName(String roadLineOrgName) {
        this.roadLineOrgName = roadLineOrgName;
    }

    public Integer getRoadLineMainOrgId() {
        return roadLineMainOrgId;
    }

    public void setRoadLineMainOrgId(Integer roadLineMainOrgId) {
        this.roadLineMainOrgId = roadLineMainOrgId;
    }

    public String getRoadLineMainOrgName() {
        return roadLineMainOrgName;
    }

    public void setRoadLineMainOrgName(String roadLineMainOrgName) {
        this.roadLineMainOrgName = roadLineMainOrgName;
    }

    public Integer getRoadLineFaultLevel() {
        return roadLineFaultLevel;
    }

    public void setRoadLineFaultLevel(Integer roadLineFaultLevel) {
        this.roadLineFaultLevel = roadLineFaultLevel;
    }

    public String getRoadLineFaultPhoto() {
        return roadLineFaultPhoto;
    }

    public void setRoadLineFaultPhoto(String roadLineFaultPhoto) {
        this.roadLineFaultPhoto = roadLineFaultPhoto;
    }

    public Integer getRoadLineFaultType() {
        return roadLineFaultType;
    }

    public void setRoadLineFaultType(Integer roadLineFaultType) {
        this.roadLineFaultType = roadLineFaultType;
    }

    public String getRoadLineFaultReason() {
        return roadLineFaultReason;
    }

    public void setRoadLineFaultReason(String roadLineFaultReason) {
        this.roadLineFaultReason = roadLineFaultReason;
    }

    public Integer getRoadLineFaultCreatorId() {
        return roadLineFaultCreatorId;
    }

    public void setRoadLineFaultCreatorId(Integer roadLineFaultCreatorId) {
        this.roadLineFaultCreatorId = roadLineFaultCreatorId;
    }

    public String getRoadLineFaultCreatorName() {
        return roadLineFaultCreatorName;
    }

    public void setRoadLineFaultCreatorName(String roadLineFaultCreatorName) {
        this.roadLineFaultCreatorName = roadLineFaultCreatorName;
    }

    public String getRoadLineFaultTime() {
        return roadLineFaultTime;
    }

    public void setRoadLineFaultTime(String roadLineFaultTime) {
        this.roadLineFaultTime = roadLineFaultTime;
    }

    public Integer getRoadLineMaintainerId() {
        return roadLineMaintainerId;
    }

    public void setRoadLineMaintainerId(Integer roadLineMaintainerId) {
        this.roadLineMaintainerId = roadLineMaintainerId;
    }

    public String getRoadLineMaintainerName() {
        return roadLineMaintainerName;
    }

    public void setRoadLineMaintainerName(String roadLineMaintainerName) {
        this.roadLineMaintainerName = roadLineMaintainerName;
    }

    public String getRoadLineMaintenancePhoto() {
        return roadLineMaintenancePhoto;
    }

    public void setRoadLineMaintenancePhoto(String roadLineMaintenancePhoto) {
        this.roadLineMaintenancePhoto = roadLineMaintenancePhoto;
    }

    public String getRoadLineMaintenanceContent() {
        return roadLineMaintenanceContent;
    }

    public void setRoadLineMaintenanceContent(String roadLineMaintenanceContent) {
        this.roadLineMaintenanceContent = roadLineMaintenanceContent;
    }

    public String getRoadLineMaintenanceExplain() {
        return roadLineMaintenanceExplain;
    }

    public void setRoadLineMaintenanceExplain(String roadLineMaintenanceExplain) {
        this.roadLineMaintenanceExplain = roadLineMaintenanceExplain;
    }

    public Integer getRoadLineMaintenanceStatus() {
        return roadLineMaintenanceStatus;
    }

    public void setRoadLineMaintenanceStatus(Integer roadLineMaintenanceStatus) {
        this.roadLineMaintenanceStatus = roadLineMaintenanceStatus;
    }

    public String getRoadLineMaintenanceTime() {
        return roadLineMaintenanceTime;
    }

    public void setRoadLineMaintenanceTime(String roadLineMaintenanceTime) {
        this.roadLineMaintenanceTime = roadLineMaintenanceTime;
    }

    public String getRoadLineProvince() {
        return roadLineProvince;
    }

    public void setRoadLineProvince(String roadLineProvince) {
        this.roadLineProvince = roadLineProvince;
    }

    public String getRoadLineCity() {
        return roadLineCity;
    }

    public void setRoadLineCity(String roadLineCity) {
        this.roadLineCity = roadLineCity;
    }

    public String getRoadLineArea() {
        return roadLineArea;
    }

    public void setRoadLineArea(String roadLineArea) {
        this.roadLineArea = roadLineArea;
    }

    public String getRoadLineRoadName() {
        return roadLineRoadName;
    }

    public void setRoadLineRoadName(String roadLineRoadName) {
        this.roadLineRoadName = roadLineRoadName;
    }

    public String getRoadLineStartRoad() {
        return roadLineStartRoad;
    }

    public void setRoadLineStartRoad(String roadLineStartRoad) {
        this.roadLineStartRoad = roadLineStartRoad;
    }

    public String getRoadLineEndRoad() {
        return roadLineEndRoad;
    }

    public void setRoadLineEndRoad(String roadLineEndRoad) {
        this.roadLineEndRoad = roadLineEndRoad;
    }

    public Integer getRoadLineType() {
        return roadLineType;
    }

    public void setRoadLineType(Integer roadLineType) {
        this.roadLineType = roadLineType;
    }

    public Integer getRoadLineGraphic() {
        return roadLineGraphic;
    }

    public void setRoadLineGraphic(Integer roadLineGraphic) {
        this.roadLineGraphic = roadLineGraphic;
    }

    public String getRoadLinePhoto() {
        return roadLinePhoto;
    }

    public void setRoadLinePhoto(String roadLinePhoto) {
        this.roadLinePhoto = roadLinePhoto;
    }

    public String getRoadLineInstallTime() {
        return roadLineInstallTime;
    }

    public void setRoadLineInstallTime(String roadLineInstallTime) {
        this.roadLineInstallTime = roadLineInstallTime;
    }

    public String getRoadLineInstallOrg() {
        return roadLineInstallOrg;
    }

    public void setRoadLineInstallOrg(String roadLineInstallOrg) {
        this.roadLineInstallOrg = roadLineInstallOrg;
    }

    public Integer getRoadLinePeriod() {
        return roadLinePeriod;
    }

    public void setRoadLinePeriod(Integer roadLinePeriod) {
        this.roadLinePeriod = roadLinePeriod;
    }

    public Integer getRoadLineServiceLife() {
        return roadLineServiceLife;
    }

    public void setRoadLineServiceLife(Integer roadLineServiceLife) {
        this.roadLineServiceLife = roadLineServiceLife;
    }

    public String getRoadLineRemark() {
        return roadLineRemark;
    }

    public void setRoadLineRemark(String roadLineRemark) {
        this.roadLineRemark = roadLineRemark;
    }

    public Integer getRoadLineCreatorId() {
        return roadLineCreatorId;
    }

    public void setRoadLineCreatorId(Integer roadLineCreatorId) {
        this.roadLineCreatorId = roadLineCreatorId;
    }

    public String getRoadLineCreatorName() {
        return roadLineCreatorName;
    }

    public void setRoadLineCreatorName(String roadLineCreatorName) {
        this.roadLineCreatorName = roadLineCreatorName;
    }

    public Integer getElementId() {
        return elementId;
    }

    public void setElementId(Integer elementId) {
        this.elementId = elementId;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getRoadLineMileage() {
        return roadLineMileage;
    }

    public void setRoadLineMileage(String roadLineMileage) {
        this.roadLineMileage = roadLineMileage;
    }

    public LineFaultEntity toBean() {
        LineFaultEntity lineFaultEntity = new LineFaultEntity();
        lineFaultEntity.setRoadLineFaultReason(roadLineFaultReason);
        lineFaultEntity.setRoadLineFaultType(roadLineFaultType);
        lineFaultEntity.setRoadLineFaultPhoto(roadLineFaultPhoto);
        lineFaultEntity.setRoadLineFaultLevel(roadLineFaultLevel);
        lineFaultEntity.setRoadLineOrgId(roadLineOrgId);
        lineFaultEntity.setRoadLineCheck(0);
        lineFaultEntity.setRoadLineMainOrgId(roadLineMainOrgId);
        lineFaultEntity.setRoadLineMainCheck(0);
        lineFaultEntity.setRoadLineId(roadLineId);
        lineFaultEntity.setRoadLineFaultCreatorId(roadLineFaultCreatorId);
        lineFaultEntity.setRoadLineFaultTime(roadLineFaultTime);
        lineFaultEntity.setRoadLineMoney(roadLineMoney);
        lineFaultEntity.setRoadLineMaintenanceStatus(0);
        return lineFaultEntity;
    }

}
